<template>
  <uni-load-more
    status="loading"
    :color="color"
    :icon-size="iconSize"
    :content-text="{ contentrefresh: '正在加载中...' }"
    style="
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    "
  ></uni-load-more>
</template>

<script>
export default {
  name: "loading",
  props: {
    color: {
      type: String,
      default: "#24adf3",
    },
    iconSize: {
      type: Number,
      default: 40,
    },
  },
};
</script>
<style lang='scss' scoped>
</style>